using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
using System.Data;
using Bussiness.Entity;
namespace Bussiness.Manager
{
                

    public class PT_Service_ModelManager:Bussiness.ManagerBase.PT_Service_ModelManagerBase
    {
        public static PT_Service_ModelManager CreateInstant()
        {
            return new PT_Service_ModelManager();
        }
        public PT_Service_ModelEntity GetByServiceAndModel(string ServiceCode, string Model)
        {
            PT_Service_ModelEntity Option = new PT_Service_ModelEntity();
            Option.ServiceCode = ServiceCode;
            Option.ModelCode = Model;
            List<PT_Service_ModelEntity> lst = PT_Service_ModelManager.CreateInstant().SelectWithConditionLST(Option);
            if (lst.Count > 0)
                return lst[0];
            return null;
        }
    }
}
                    
